/**
 * Created by 付强 on 2017/3/30.
 */
import layer from './components/layer/layer.js';
import './comm/style/comm.scss';


window.myApp = angular.module('myApp', []);
window.myApp.run(function () {
  // 网页可见区域高
  var eventH = document.body.scrollHeight;
  var scrollH = eventH > 678 ? eventH : 678;
  var parentStyle = document.getElementsByClassName('parent')[0].style;
  parentStyle.height = scrollH + 'px';
  console.log('网页可见区域高：' + parentStyle.height);
  console.log(layer);
});